package com.lzx.answer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户举报表
 * </p>
 *
 * @author lzx
 * @since 2023-01-05
 */
@Getter
@Setter
@ApiModel(value = "Report对象", description = "用户举报表")
public class Report implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("举报的用户")
    private Integer userId;

    @ApiModelProperty("问题id")
    private Integer problemId;

    @ApiModelProperty("举报的内容")
    private String content;

    @ApiModelProperty("是否处理(0:未处理,1:已处理)")
    private Integer isDispose;

    @ApiModelProperty("管理员回复的内容")
    private String message;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}
